package org.hq.mysecurity.uitls;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import static org.hq.mysecurity.uitls.JwtTokenUtil.checkToken;
import static org.hq.mysecurity.uitls.JwtTokenUtil.createToken;
@SpringBootTest
class JwtUtilsTest {

    @Test
    void getUuid() {



      String tokey=  createToken("GHJ",System.currentTimeMillis()+ 60 * 60 * 1000L * 3);
        System.out.println(tokey);
        R r = checkToken(tokey);

        System.out.println( r.toString());
    }
}